package com.zsc.shixun.contant;

/**
 * <p>
 * redis缓存key常量类
 * </p>
 *
 * @author ZWYZY
 * @since 2020/6/14
 */
public class Contant {
    /**
     * 1缓存用户信息key
     */
    public final static String MESSAGE_KEY = "message_";
    /**
     * 2缓存用户权限信息key
     */
    public final static String AUTHORITY_KEY = "authorities_";
    /**
     * 3缓存注册验证码key
     */
    public final static String REGISTER_CODE_KEY = "code_register_";
    /**
     * 4缓存密码找回验证码key
     */
    public final static String FORGET_PASSWORD_CODE_KEY = "code_";


    /**
     * 5个人资料key
     */
    public final static String USER_KEY = "user_";

    /**
     * 6数据观星key(管理员)
     */
    public final static String DATA_ADMIN_KEY = "data_admin";

    /**
     * 7数据观星key(管理员)
     */
    public final static String DATA_COMMON_KEY = "data_common_";

    /**
     * 8角色key
     */
    public final static String ROLE_KEY = "role_";


    /**
     * 9公共管理key
     */
    public final static String NOTIC_KEY = "notice_";


    /**
     * 10首页key
     */
    public final static String HOME_KEY = "home_";

    /**
     * 11文章管理key
     */
    public final static String ARTICLE_KEY = "article_";

    /**
     * 12评论管理key
     */
    public final static String COMMENT_KEY = "comment_";
    /**
     * 13分类管理key
     */
    public final static String TYPE_KEY = "type_";

    /**
     * 14收藏夹管理key
     */
    public final static String COLLECT_KEY = "collect_";

    /**
     * 15用户管理key
     */
    public final static String USER_MANAGE_KEY = "user_manage";

    /**
     * 16我关注的人key
     */
    public final static String USER_FOLLOWING_KEY = "user_following_";

    /**
     * 17我的粉丝key
     */
    public final static String USER_FOLLOWED_KEY = "user_followed_";

    /**
     * 18博客页-文章列表key
     */
    public final static String INDEX_ARTICLE_KEY = "index_article";

    /**
     * 19博客页-公告key
     */
    public final static String INDEX_NOTICE_KEY = "index_notice";

    /**
     * 20博客页-top10key
     */
    public final static String INDEX_TOP10_KEY = "index_top10";

    /**
     * 21菜单项权限列表key
     */
    public final static String MENU_AUTHORITY_KEY = "menu_authority";

}
